<form id="add-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Date')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-date" class="form-control" name="row[date]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Checkplan_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-checkplan_id" data-rule="required" data-source="checkplan/index" class="form-control selectpage" name="row[checkplan_id]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Checkplan')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-checkplan" class="form-control" name="row[checkplan]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Checkplan_detail_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-checkplan_detail_id" data-rule="required" data-source="checkplan/detail/index" class="form-control selectpage" name="row[checkplan_detail_id]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Checkplan_detail_start_time')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-checkplan_detail_start_time" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[checkplan_detail_start_time]" type="text" value="{:date('Y-m-d H:i:s')}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Checkplan_detail_end_time')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-checkplan_detail_end_time" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[checkplan_detail_end_time]" type="text" value="{:date('Y-m-d H:i:s')}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Check_user_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-check_user_id" data-rule="required" data-source="check/user/index" class="form-control selectpage" name="row[check_user_id]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Check_user')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-check_user" class="form-control" name="row[check_user]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Real_check_user_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-real_check_user_id" data-rule="required" data-source="real/check/user/index" class="form-control selectpage" name="row[real_check_user_id]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Real_check_user')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-real_check_user" class="form-control" name="row[real_check_user]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Checkpoint_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-checkpoint_id" data-rule="required" data-source="checkpoint/index" class="form-control selectpage" name="row[checkpoint_id]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Checkpoint')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-checkpoint" class="form-control" name="row[checkpoint]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Check_time')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-check_time" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[check_time]" type="text" value="{:date('Y-m-d H:i:s')}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Check_pics')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-check_pics" class="form-control" name="row[check_pics]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Is_abnormal')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-is_abnormal" class="form-control" name="row[is_abnormal]" type="number" value="1">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Abnormal_desc')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-abnormal_desc" class="form-control" name="row[abnormal_desc]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Next_checkpoint_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-next_checkpoint_id" data-rule="required" data-source="next/checkpoint/index" class="form-control selectpage" name="row[next_checkpoint_id]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Next_checkpoint')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-next_checkpoint" class="form-control" name="row[next_checkpoint]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Create_time')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-create_time" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[create_time]" type="text" value="{:date('Y-m-d H:i:s')}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Update_time')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-update_time" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[update_time]" type="text" value="{:date('Y-m-d H:i:s')}">
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
        </div>
    </div>
</form>
